/**
 * @author 张新林
 * 时间 2016年5月21日下午5:14:59
 * 包名 dao.Frame
 * 类名 helpFrame
 *
 */
package dao.Frame;

import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.JTextArea;
import java.awt.Color;

/**
 * @author 张新林
 * 时间 2015年3月23日下午8:14:59
 * 包名 dao.Frame
 * 类名 helpFrame
 * 帮助界面，提示游戏操作的相关提醒
 */
public class HelpFrame extends JFrame {

	private JPanel contentPane;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					HelpFrame frame = new HelpFrame();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public HelpFrame() {
		setTitle("英雄对决-帮助");
		setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
		setBounds(100, 100, 429, 300);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JPanel panel = new JPanel();
		panel.setForeground(Color.BLACK);
		panel.setBounds(0, 0, 413, 262);
		contentPane.add(panel);
		panel.setLayout(null);
		
		JLabel lblNewLabel = new JLabel("帮助");
		lblNewLabel.setFont(new Font("宋体", Font.PLAIN, 18));
		lblNewLabel.setBounds(24, 10, 68, 25);
		panel.add(lblNewLabel);
		
		JLabel lblNewLabel_1 = new JLabel("攻击力：");
		lblNewLabel_1.setFont(new Font("宋体", Font.BOLD, 12));
		lblNewLabel_1.setBounds(34, 45, 54, 15);
		panel.add(lblNewLabel_1);
		
		JLabel lblNewLabel_2 = new JLabel("防御力：");
		lblNewLabel_2.setFont(new Font("宋体", Font.BOLD, 12));
		lblNewLabel_2.setBounds(34, 94, 54, 15);
		panel.add(lblNewLabel_2);
		
		JLabel lblNewLabel_3 = new JLabel("敏捷力：");
		lblNewLabel_3.setFont(new Font("宋体", Font.BOLD, 12));
		lblNewLabel_3.setBounds(34, 145, 54, 15);
		panel.add(lblNewLabel_3);
		
		JLabel lblNewLabel_4 = new JLabel("运气值：");
		lblNewLabel_4.setFont(new Font("宋体", Font.BOLD, 12));
		lblNewLabel_4.setBounds(34, 203, 54, 15);
		panel.add(lblNewLabel_4);
		
		JTextArea textArea = new JTextArea();
		textArea.setEditable(false);
		textArea.setText("攻击力越高，造成的普通攻击伤害越大");
		textArea.setBounds(98, 45, 269, 39);
		panel.add(textArea);
		
		JTextArea textArea_1 = new JTextArea();
		textArea_1.setEditable(false);
		textArea_1.setText("防御力越高，对于物理伤害值减免越多");
		textArea_1.setBounds(98, 90, 269, 39);
		panel.add(textArea_1);
		
		JTextArea textArea_2 = new JTextArea();
		textArea_2.setEditable(false);
		textArea_2.setText("双方的敏捷力决定进攻的优先顺序以及敌我闪避率");
		textArea_2.setBounds(98, 141, 269, 39);
		panel.add(textArea_2);
		
		JTextArea textArea_3 = new JTextArea();
		textArea_3.setEditable(false);
		textArea_3.setText("运气值越大，越有概率打出更高伤害");
		textArea_3.setBounds(98, 199, 269, 39);
		panel.add(textArea_3);
		setLocationRelativeTo(null);//设置居中
	}
}
